// 路由配置
import { createRouter, createWebHistory } from 'vue-router';
import HomePage from '../views/Home.vue';
import ClassifyPage from '../views/Classify.vue';
import RecyclingPoints from '../views/RecyclingPoints.vue';
import Policies_Regulations from '../views/Rules.vue'
import IndustryDynamics from '../views/dynamic.vue';
import UserRegister from '../views/UserRegister.vue';
import UserLogin from '../views/UserLogin.vue';
import AdminAccounts from '../views/AdminAccounts.vue';



const routes = [
  { path: '/', component: HomePage },
  { path: '/Classify', component: ClassifyPage },
  { path: '/RecyclingPoints',component: RecyclingPoints},
  { path: '/Policies_Regulations',component: Policies_Regulations},
  { path: '/IndustryDynamics',component: IndustryDynamics},
  { path: '/UserRegister', component: UserRegister},
  { path: '/UserLogin', component: UserLogin},
  { path: '/AdminAccounts', component: AdminAccounts }
];

const router = createRouter({
  history: createWebHistory(process.env.BASE_URL),
  routes
});

export default router;

